<?php
$page = new BUIControl();
$activeOperation = Blyn::app()->getActiveOperation();
?>
<p><?php echo $activeOperation->getUIManager()->getAjaxLink('testFollowEvent'); ?></p>
<p><?php echo $activeOperation->getUIManager()->getLink('testLinkToWechatPage',NULL,NULL,array('device'=>  BUIWXControl::WeChat_Name)); ?></p>
<?php
if ($activeOperation->getUIManager()->isAjaxLinkClicked('testFollowEvent')) {
    $page->addRenderView('testFollowEvent', 'testFollowEvent');
} else {
    ?>
    <h5> this is follow event page!</h5>
<?php
}
$page->render();
?>

